<?php
$rakuen=1;
echo "".($rakuen/3)%3 ."<br/>";
$rakuen=2;
echo "".$rakuen%3 ."<br/>";
$rakuen=3;
echo "".($rakuen/3)%3 ."<br/>";

?>